package com.relytosoft.mizar.media.display.api.enums;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 云台控制命令
 *
 * @author hj
 * @version 1.0
 * @date 2022/4/7 17:00
 * @ClassName PtzCommand
 */
@ApiModel("云台控制命令")
public enum PtzCommand  {

    @ApiModelProperty("左转")
    PTZ_LEFT(4,"LEFT"),
    @ApiModelProperty("右转")
    PTZ_RIGHT(7,"RIGHT"),
    @ApiModelProperty("向上")
    PTZ_UP(2,"UP"),
    @ApiModelProperty("向下")
    PTZ_DOWN(3,"DOWN"),
    @ApiModelProperty("左上")
    PTZ_UP_LEFT(5,"LEFT_UP"),
    @ApiModelProperty("左下")
    PTZ_DOWN_LEFT(6,"LEFT_DOWN"),
    @ApiModelProperty("右上")
    PTZ_UP_RIGHT(8,"RIGHT_UP"),
    @ApiModelProperty("右下")
    PTZ_DOWN_RIGHT(9,"RIGHT_DOWN"),
    @ApiModelProperty("焦点前移")
    PTZ_FOCUS_NEAR(25,"FOCUS_NEAR"),
    @ApiModelProperty("焦点后移")
    PTZ_FOCUS_FAR(26,"FOCUS_FAR"),
    @ApiModelProperty("光圈扩大")
    PTZ_IRIS_ENLARGE(21,"IRIS_ENLARGE"),
    @ApiModelProperty("光圈缩小")
    PTZ_IRIS_REDUCE(22,"IRIS_REDUCE"),
    @ApiModelProperty("焦距放大")
    PTZ_ZOOM_IN(23,"ZOOM_IN"),
    @ApiModelProperty("焦距缩小")
    PTZ_ZOOM_OUT(24,"ZOOM_OUT"),
    @ApiModelProperty("指定预置点")
    PTZ_GO_PRESET(11,"GOTO_PRESET");
    Integer hwCommand;
    String hkCommand ;

    PtzCommand(Integer hwCommand, String hkCommand) {
        this.hwCommand = hwCommand;
        this.hkCommand = hkCommand;
    }

    public Integer getHwCommand() {
        return hwCommand;
    }

    public void setHwCommand(Integer hwCommand) {
        this.hwCommand = hwCommand;
    }

    public String getHkCommand() {
        return hkCommand;
    }

    public void setHkCommand(String hkCommand) {
        this.hkCommand = hkCommand;
    }
}
